package com.simon.mctm.base.response;


import io.swagger.annotations.ApiModelProperty;

/**
 * 异常返回消息
 * @author Jiajie.Mao
 * @date 2018/6/7 15:29
 */
public class ExResponse {

	/**
	 * 结果编码
	 */
	@ApiModelProperty(value = "结果编码('200'成功，其他失败)")
	private Integer code;


	/**
	 * 结果信息
	 */
	@ApiModelProperty(value = "结果信息")
	private String msg;

	public ExResponse() { }

	public ExResponse(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
}
